import pytest


def test1():

    try:
        # pytest.assume(1==2)
        assert 2 == 2
        print("张铭练1")
        assert 1 == 2
        print("张铭练2")
        assert 2 == 2
        print("张铭练3")

    except Exception as e:
        print("测试失败")
    else:
        print("测试通过")
